package com.pgytesting.secondhandcar.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 合影材料(PhotographingMaterial)实体类
 *
 * @author makejava
 * @since 2019-08-12 18:55:58
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)   // 注解对对象空值进行json互转时的null值进行移除
public class PhotographingMaterial implements Serializable {
    //ID
    private String id;
    //合影材料
    @NotNull(message = "合影材料不能为空")
    private String photographingMaterialName;
    // 车辆登记证
    @NotNull(message = "车辆登记证不能为空")
    private String vehicleRegistrationCertificate;
    //创建人
    private String createdBy;
    //创建时间
    private Long createdTime;
    //更新人
    private String updatedBy;
    //更新时间
    private Long updatedTime;
    //状态 -1为删除或者异常，默认为0
    private Integer status;


}